import {Service, util} from "adajs";

class LifeService extends Service {
    defaultData() {
        return {
            title: "设置",
            links: [
                {name: "住院登记", link: "/my/medical/hospital",image:"zyjl"},
                {name: "常用医院就医指南", link: "/my/medical/guide",image:"cyyy"},
                {name: "114挂号", link: "http://www.bjguahao.gov.cn/index.htm",image:"114",islink:true},
                {name: "社区医疗", link: "/my/medical/community",image:"sq"}
            ]
        };
    }

    onupdate(current, data) {
        return util.extend(current, data);
    }
}

export default LifeService;